package com.sdonkey.score.model;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 大数据统计
 * @author mengxue
 * 2016年1月4日
 */
public class TadBigDataByarea implements Serializable{
	private static final long serialVersionUID = 7259407929033062963L;

	//id
	private long id;
	//广告主id
	private String advId;
	//时间(统计时间)
	private String time;
	//省份
	private String area;
	//用户数量
	private String userNum;
	//点击次数
	private String clickNum;
	//平均单价
	private String averagePrice;
	//广告支出
	private String adPay;
	//广告总支出
	private String sumAdpay;
	//广告总预算
	private String budgetBalance;
	//收入排名
	private String top;
	//所占百分比
	private String proportion;
	//创建时间
	private Timestamp createTime;
	
	
	public TadBigDataByarea(){
	}
	
	public String getSumAdpay() {
		return sumAdpay;
	}
	public void setSumAdpay(String sumAdpay) {
		this.sumAdpay = sumAdpay;
	}


	public void setId(long id) {
		this.id = id;
	}
	
	public long getId() {
		return this.id;
	}

	public void setAdvId(String advId) {
		this.advId = advId;
	}
	
	public String getAdvId() {
		return this.advId;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	public String getTime() {
		return this.time;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	public String getArea() {
		return this.area;
	}

	public void setUserNum(String userNum) {
		this.userNum = userNum;
	}
	
	public String getUserNum() {
		return this.userNum;
	}

	public void setClickNum(String clickNum) {
		this.clickNum = clickNum;
	}
	
	public String getClickNum() {
		return this.clickNum;
	}

	public void setAveragePrice(String averagePrice) {
		this.averagePrice = averagePrice;
	}
	
	public String getAveragePrice() {
		return this.averagePrice;
	}

	public void setAdPay(String adPay) {
		this.adPay = adPay;
	}
	
	public String getAdPay() {
		return this.adPay;
	}

	public void setBudgetBalance(String budgetBalance) {
		this.budgetBalance = budgetBalance;
	}
	
	public String getBudgetBalance() {
		return this.budgetBalance;
	}

	public void setTop(String top) {
		this.top = top;
	}
	
	public String getTop() {
		return this.top;
	}

	public void setProportion(String proportion) {
		this.proportion = proportion;
	}
	
	public String getProportion() {
		return this.proportion;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public Timestamp getCreateTime() {
		return this.createTime;
	}




	@Override
	public String toString() {
		return  "TadvBigdataByarea ["
			+ "Id = " + getId() + ","
			+ "AdvId = " + getAdvId() + ","
			+ "Time = " + getTime() + ","
			+ "Area = " + getArea() + ","
			+ "UserNum = " + getUserNum() + ","
			+ "ClickNum = " + getClickNum() + ","
			+ "AveragePrice = " + getAveragePrice() + ","
			+ "AdPay = " + getAdPay() + ","
			+ "BudgetBalance = " + getBudgetBalance() + ","
			+ "Top = " + getTop() + ","
			+ "Proportion = " + getProportion() + ","
			+ "CreateTime = " + getCreateTime() + ","
		+"]";
	}



	public String getAllclick() {
		// TODO Auto-generated method stub
		return null;
	}
	
}


